package cn.school.workflow.vo;

import cn.school.common.BaseVO;
import cn.school.common.utils.SysUserUtils;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("t_goods_buy_apply")
public class GoodsBuyApplyVO extends BaseVO {
    private static final long serialVersionUID = -8089385472773716025L;

    @ApiModelProperty(value = "申请单编号")
    private String applyNo;

    @ApiModelProperty(value = "流程ID")
    private String processId;

    @ApiModelProperty(value = "部门ID")
    private String deptId;

    @ApiModelProperty(value = "部门名称")
    private String deptName;

    @ApiModelProperty(value = "物品名称")
    private String goodsName;

    @ApiModelProperty(value = "申购数量")
    private String buyCount;

    @ApiModelProperty(value = "用途")
    private String purpose;

    @ApiModelProperty(value = "物品图片多文件逗号‘，’分割")
    private String goodsImage;

    @ApiModelProperty(value = "当前审批人")
    private String currAppprovedBy;

    @ApiModelProperty(value = "申请单状态 0-草稿 1-处理中 2-驳回 3-通过 4-撤回")
    private String applyStatus;

    @ApiModelProperty(value = "抄送人")
    private String ccUsers;

    @TableField(exist = false)
    private Integer pageSize;

    @TableField(exist = false)
    private Integer pageNum;
    /**
     * 默认租户为当前登录人的租户
     */
    private String tenantId = SysUserUtils.getSysUser().getTenantId();
}
